﻿using System;
using System.Collections.Generic;

namespace Models
{
    public class AssetUpkeepHead
    {
        /// <summary>
        /// 主键
        /// </summary>
        public decimal ID { get; set; }

        /// <summary>
        /// 维护编号
        /// </summary>
        public string AU_Number { get; set; }

        /// <summary>
        /// 维护时间
        /// </summary>
        public DateTime AU_Date { get; set; }

        /// <summary>
        /// 维护人员
        /// </summary>
        public string AU_Person { get; set; }

        /// <summary>
        /// 维护花费
        /// </summary>
        public decimal AU_Spend { get; set; }

        /// <summary>
        /// 维护内容
        /// </summary>
        public string AU_Content { get; set; }

        /// <summary>
        /// 状态（0：审批中；1：已完成）
        /// </summary>
        public int AU_Status { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }

        /// <summary>
        /// 子表集合
        /// </summary>
        public List<AssetUpkeepBody> ItemList { get; set; }

        /// <summary>
        /// 文件集合
        /// </summary>
        public List<FileData> FileList { get; set; }

        /// <summary>
        /// 构造方法
        /// </summary>
        public AssetUpkeepHead()
        {
            AU_Date = DateTime.MinValue;
            AU_Content = "";
            AU_Status = 0;
            IsDelete = 0;
            ItemList = new List<AssetUpkeepBody>();
            FileList = new List<FileData>();
        }
    }
}
